@mixin fontSize($direction, $difference: 2rpx) {
	$fontSizeNumber: 32rpx;

	&.chat-container {
		@if $direction==small {
			$fontSizeNumber: 28rpx;
		} @else if $direction==normal {
			$fontSizeNumber: 32rpx;
		} @else if $direction==medium {
			$fontSizeNumber: 36rpx;
		} @else if $direction==large {
			$fontSizeNumber: 40rpx;
		}

		.card-center {
			font-size: $fontSizeNumber !important;
			line-height: #{$fontSizeNumber + 10rpx} !important;
			.card-href {
				.href-li {
					font-size: #{$fontSizeNumber - $difference} !important;
				}
			}
		}
	}
}

.font-size {
	@include fontSize('normal');
}

.font-size-small {
	@include fontSize('small');
}

.font-size-medium {
	@include fontSize('medium');
}

.font-size-large {
	@include fontSize('large');
}

